package com.wss.day04.test03;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/22
 */
public class Computer {
    public void dataExchange(IMobileStorage storage) {
        System.out.println("开始数据交换");
        storage.read();
        storage.write();
        System.out.println("数据交换完成 ");
    }

    public void playMP3Music(MP3Player mp3) {
        mp3.playMusic();
    }
}
